package com.furnitur.core.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("address")
public class Address {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    
    private Long userId;
    private String receiverName;
    private String phone;
    private String province;
    private String city;
    private String district;
    private String detailAddress;
    
    @TableField("is_default")
    private Boolean isDefault;
    
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
} 